//
//  SuperDialogController.h
//  MyCloudMusic
//
//  Created by pub on 2024/6/15.
//

#import "BaseController.h"

NS_ASSUME_NONNULL_BEGIN

@interface SuperDialogController : BaseController
@property(nonatomic, strong)QMUIModalPresentationViewController *modalController;

@property(nonatomic, strong)MyBaseLayout *superRootContainer;
@property(nonatomic, strong)MyBaseLayout *superContentContainer;
@property(nonatomic, strong)MyBaseLayout *superFooterContainer;

@property(nonatomic, strong)UILabel *titleView;
@property(nonatomic, strong)NSMutableArray *buttons;


- (SuperDialogController *)setConfirmButtom:(NSString *)title target:(id)target action:(SEL)action;

- (SuperDialogController *)setWarningButtom:(NSString *)title target:(id)target action:(SEL)action;

- (SuperDialogController *)setCancelButtom:(NSString *)title target:(id)target action:(SEL)action;

- (void)show;

- (void)hide;
@end

NS_ASSUME_NONNULL_END
